package com.kuaimacode.kframework.mybatis.models.weather;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author anzy
 * @date 2019/04/07
 */
@TableName("sys_agent_weather_cfg")
@Data
public class WeatherCfg implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@ApiModelProperty(value = "天气id")
	@TableField("weather_id")
	private Integer weatherId;
	@ApiModelProperty(value = "金额")
	@TableField("amt")
	private BigDecimal amt;
	@ApiModelProperty(value = "是否启用 0 否 1 是")
	@TableField("is_available")
	private Integer isAvailable;
	@ApiModelProperty(value = "分站id")
	@TableField("agent_id")
	private String agentId;

	@ApiModelProperty(value = "特殊天气名称")
	@TableField("weather_name")
	private String weatherName;

	@ApiModelProperty(value = "更新人")
	@TableField("update_by")
	private Long updateBy;

	@ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private Long createBy;

	@ApiModelProperty(value = "更新时间")
	@TableField("update_at")
	private Date updateAt;

	@ApiModelProperty(value = "创建时间")
	@TableField("create_at")
	private Date createAt;

}
